package com.qfedu.dtboot.config;

import com.alibaba.druid.support.http.WebStatFilter;

import javax.servlet.annotation.WebFilter;
import javax.servlet.annotation.WebInitParam;

/**配置durid过滤规则，监控所用页面，并排除以下中配置文件路径
 * @author 水杯
 * @date 2020-08-09 16:37
 */
@WebFilter(filterName = "druidWebStatFilter",urlPatterns = "/*",
        initParams = {
                @WebInitParam(name = "exclusions",value = "*.js,*.gif,*.jpg,*.bmp,*.png,*.css,*.ico,/druid/*")
        })
public class DruidStatFilter extends WebStatFilter {


}
